import Vue from 'vue'
import Vuex from 'vuex'

import getters from './getters'
import app from './modules/app'
import brand from './modules/brand'
import businessType from './modules/businessType'
import clause from './modules/clause'
import dict from './modules/dict'
import ecu from './modules/ecu'
import flowDesign from './modules/flowDesign'
import flowRelatedConfig from './modules/flowRelatedConfig'
import menu from './modules/menu'
import model from './modules/model'
import modelStyle from './modules/modelStyle'
import myApply from './modules/myApply'
import myReview from './modules/myReview'
import newTask from './modules/newTask'
import orderManagement from './modules/orderManagement'
import org from './modules/org'
import pageAction from './modules/pageAction'
import role from './modules/role'
import serviceConfig from './modules/serviceConfig'
import softwareManageAndControl from './modules/softwareManageAndControl'
import stasticsFlowRport from './modules/stasticsFlowRport'
import statisticsEcu from './modules/statisticsEcu'
import statisticsOutline from './modules/statisticsOutline'
import statisticsPlatformData from './modules/statisticsPlatformData'
import statisticsProject from './modules/statisticsProject'
import statisticsTask from './modules/statisticsTask'
import statisticsVehicle from './modules/statisticsVehicle'
import sotaVersion from './modules/sotaVersion'
import sysAnnounce from './modules/sysAnnounce'
import statisticsVersion from './modules/statisticsVersion'
import strategy from './modules/strategy'
import subscriptionMaintain from './modules/subscriptionMaintain'
import syncLog from './modules/syncLog'
import sysDataLog from './modules/sysDataLog'
import sysLog from './modules/sysLog'
import tagsView from './modules/tagsView'
import task from './modules/task'
import user from './modules/user'
import vehicle from './modules/vehicle'
import vehicleVersion from './modules/vehicleVersion'
import verify from './modules/verify'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    app,
    pageAction,
    user,
    org,
    role,
    menu,
    brand,
    model,
    vehicle,
    dict,
    strategy,
    task,
    newTask,
    verify,
    clause,
    statisticsOutline,
    statisticsProject,
    statisticsTask,
    statisticsEcu,
    statisticsVersion,
    statisticsVehicle,
    stasticsFlowRport,
    sotaVersion,
    sysLog,
    sysAnnounce,
    sysDataLog,
    ecu,
    vehicleVersion,
    orderManagement,
    subscriptionMaintain,
    serviceConfig,
    tagsView,
    flowRelatedConfig,
    flowDesign,
    businessType,
    myApply,
    myReview,
    softwareManageAndControl,
    syncLog,
    modelStyle,
    statisticsPlatformData
  },
  state: {

  },
  mutations: {

  },
  actions: {

  },
  getters
})
